home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmCreateSelectionDialog.z
/
XmCreateSelectionDialog
Wrap
Text File
|
1998-10-20
|
5KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg - The SelectionBox SelectionDialog
convenience creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////SSSSeeeelllleeeeccccttttiiiiooooBBBB....hhhh>>>>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg ((((_p_a_r_e_n_t, _n_a_m_e, _a_r_g_l_i_s_t, _a_r_g_c_o_u_n_t))))
WWWWiiiiddddggggeeeetttt _p_a_r_e_n_t;;;;
SSSSttttrrrriiiinnnngggg _n_a_m_e;;;;
AAAArrrrggggLLLLiiiisssstttt _a_r_g_l_i_s_t;;;;
CCCCaaaarrrrddddiiiinnnnaaaallll _a_r_g_c_o_u_n_t;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg is a convenience creation function
that creates a DialogShell and an unmanaged SelectionBox
child of the DialogShell. A SelectionDialog offers the user
a choice from a list of alternatives and gets a selection.
It includes the following:
+o A scrolling list of alternatives
+o An editable text field for the selected alternative
+o Labels for the text field
+o Four buttons
The default button labels are OOOOKKKK, CCCCaaaannnncccceeeellll, AAAAppppppppllllyyyy, and HHHHeeeellllpppp.
One additional WWWWoooorrrrkkkkAAAArrrreeeeaaaa child may be added to the
SelectionBox after creation.
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg forces the value of the SelectionBox
resource XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee to XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN.
Use XXXXttttMMMMaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop up the SelectionDialog (passing the
SelectionBox as the widget parameter); use XXXXttttUUUUnnnnmmmmaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd
to pop it down.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_tSpecifies the argument list
Page 1 (printed 4/30/98)
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
_a_r_g_c_o_u_n_t
Specifies the number of attribute/value pairs in the
argument list (_a_r_g_l_i_s_t)
For a complete definition of SelectionBox and its associated
resources, see XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX)))).
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
Returns the SelectionBox widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX)))).
Page 2 (printed 4/30/98)